package org.fanrui;

import org.fanrui.hrm.exception.GlobalException;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Import;

/**
 * 课程服务启动类
 *
 * @author fanrui
 */
@SpringBootApplication
@EnableEurekaClient
@Import({GlobalException.class})
public class CourseApplicationServer {
    public static void main(String[] args) {
        SpringApplication.run(CourseApplicationServer.class, args);
    }
}